<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>Icarous: /home/research133/Software/Icarous2/cFS/apps/logger/fsw/src/logger.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Icarous
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_c1698e121239b1aba7f6e782e4514e49.html">cFS</a></li><li class="navelem"><a class="el" href="dir_7ee4ce95da95d11e80a01c5101ed8d14.html">apps</a></li><li class="navelem"><a class="el" href="dir_52754df823868bbb4c3cca44cf22a590.html">logger</a></li><li class="navelem"><a class="el" href="dir_ca59f340bd116453d69a7d97e8b72878.html">fsw</a></li><li class="navelem"><a class="el" href="dir_5619f4fff33501a53867cfbac6daf1a3.html">src</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">logger.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="logger_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;</div><div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="preprocessor">#ifndef _logger_h_</span></div><div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="preprocessor">#define _logger_h_</span></div><div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;</div><div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="preprocessor">#include &quot;cfe.h&quot;</span></div><div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="preprocessor">#include &quot;cfe_error.h&quot;</span></div><div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="preprocessor">#include &quot;cfe_evs.h&quot;</span></div><div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="preprocessor">#include &quot;cfe_sb.h&quot;</span></div><div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="preprocessor">#include &quot;cfe_es.h&quot;</span></div><div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;</div><div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="preprocessor">#include &lt;string.h&gt;</span></div><div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="preprocessor">#include &lt;errno.h&gt;</span></div><div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="preprocessor">#include &lt;unistd.h&gt;</span></div><div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="ardupilot__msg_8h.html">msgdef/ardupilot_msg.h</a>&quot;</span></div><div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="ardupilot__msgids_8h.html">msgids/ardupilot_msgids.h</a>&quot;</span></div><div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="logger__table_8h.html">logger_table.h</a>&quot;</span></div><div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="preprocessor">#include &lt;stdio.h&gt;</span></div><div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;</div><div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;</div><div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;<span class="preprocessor">#define LOG_PIPE_APDATA_NAME &quot;LOG_APDATA&quot;</span></div><div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;<span class="preprocessor">#define LOG_PIPE_COMMANDS_NAME &quot;LOG_CMD&quot;</span></div><div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;<span class="preprocessor">#define LOG_PIPE_DEPTH 256</span></div><div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;</div><div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;<span class="preprocessor">#define LOGGER_STARTUP_INF_EID 0</span></div><div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;<span class="preprocessor">#define LOGGER_COMMAND_ERR_EID 1</span></div><div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;</div><div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;</div><div class="line"><a name="l00050"></a><span class="lineno"><a class="line" href="structappdataLog__t.html">   50</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct</span>{</div><div class="line"><a name="l00051"></a><span class="lineno"><a class="line" href="structappdataLog__t.html#ac4a3537c413b9605055633b7e0498910">   51</a></span>&#160;    CFE_SB_PipeId_t    <a class="code" href="structappdataLog__t.html#ac4a3537c413b9605055633b7e0498910">LOG_Commands_Pipe</a>;       </div><div class="line"><a name="l00052"></a><span class="lineno"><a class="line" href="structappdataLog__t.html#a8c1d56436a9e79168a4aee10b3e9b58d">   52</a></span>&#160;    CFE_SB_PipeId_t    <a class="code" href="structappdataLog__t.html#a8c1d56436a9e79168a4aee10b3e9b58d">LOG_AutopilotData_Pipe</a>;  </div><div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;</div><div class="line"><a name="l00054"></a><span class="lineno"><a class="line" href="structappdataLog__t.html#a1ba1dd60d9a67fc8184a131f969d1b20">   54</a></span>&#160;    CFE_SB_MsgPtr_t    <a class="code" href="structappdataLog__t.html#a1ba1dd60d9a67fc8184a131f969d1b20">LOG_Command_MsgPtr</a>;      </div><div class="line"><a name="l00055"></a><span class="lineno"><a class="line" href="structappdataLog__t.html#a5f9ceb7cd3856ef05ead7b203141226e">   55</a></span>&#160;    CFE_SB_MsgPtr_t    <a class="code" href="structappdataLog__t.html#a5f9ceb7cd3856ef05ead7b203141226e">LOG_APdata_MsgPtr</a>;       </div><div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;</div><div class="line"><a name="l00057"></a><span class="lineno"><a class="line" href="structappdataLog__t.html#a091724a55a6e674f64c3534ec101d2bc">   57</a></span>&#160;    CFE_TBL_Handle_t   <a class="code" href="structappdataLog__t.html#a091724a55a6e674f64c3534ec101d2bc">LOGGER_tblHandle</a>;        </div><div class="line"><a name="l00058"></a><span class="lineno"><a class="line" href="structappdataLog__t.html#a3a01a814a4c3ffa0d4be1f9ce5acf39a">   58</a></span>&#160;    FILE * <a class="code" href="structappdataLog__t.html#a3a01a814a4c3ffa0d4be1f9ce5acf39a">fpPos</a>;                               </div><div class="line"><a name="l00059"></a><span class="lineno"><a class="line" href="structappdataLog__t.html#a6043b02057a3c11250d4ad9ba2144934">   59</a></span>&#160;    FILE * <a class="code" href="structappdataLog__t.html#a6043b02057a3c11250d4ad9ba2144934">fpCommands</a>;                          </div><div class="line"><a name="l00060"></a><span class="lineno"><a class="line" href="structappdataLog__t.html#af9b0246c4bf93de1809a46f059ca62b8">   60</a></span>&#160;    FILE * <a class="code" href="structappdataLog__t.html#af9b0246c4bf93de1809a46f059ca62b8">fpFlightPlan</a>;                        </div><div class="line"><a name="l00061"></a><span class="lineno"><a class="line" href="structappdataLog__t.html#af750bc9c503ccf6901370e2d057951ca">   61</a></span>&#160;    FILE * <a class="code" href="structappdataLog__t.html#af750bc9c503ccf6901370e2d057951ca">fpGeofence</a>;                          </div><div class="line"><a name="l00062"></a><span class="lineno"><a class="line" href="structappdataLog__t.html#a51cf3c9b254d793c70d6072f249c36ce">   62</a></span>&#160;    FILE * <a class="code" href="structappdataLog__t.html#a51cf3c9b254d793c70d6072f249c36ce">fpTraffic</a>;                           </div><div class="line"><a name="l00063"></a><span class="lineno"><a class="line" href="structappdataLog__t.html#af6067c039146015b3a37acb962ff84ec">   63</a></span>&#160;    FILE * <a class="code" href="structappdataLog__t.html#af6067c039146015b3a37acb962ff84ec">fpStartMission</a>;                      </div><div class="line"><a name="l00064"></a><span class="lineno"><a class="line" href="structappdataLog__t.html#a4a7a6a76a333c7bba7a9708c496fc9c4">   64</a></span>&#160;    FILE * <a class="code" href="structappdataLog__t.html#a4a7a6a76a333c7bba7a9708c496fc9c4">fpCmdAck</a>;                            </div><div class="line"><a name="l00065"></a><span class="lineno"><a class="line" href="structappdataLog__t.html#a72d6c3d06f363fa92ea16b8b73e5731d">   65</a></span>&#160;    FILE * <a class="code" href="structappdataLog__t.html#a72d6c3d06f363fa92ea16b8b73e5731d">fpWpReached</a>;                         </div><div class="line"><a name="l00066"></a><span class="lineno"><a class="line" href="structappdataLog__t.html#ad00dba0b3a6acff2789ff43023d93d62">   66</a></span>&#160;    CFE_TIME_SysTime_t <a class="code" href="structappdataLog__t.html#ad00dba0b3a6acff2789ff43023d93d62">logRecStartTime</a>;         </div><div class="line"><a name="l00067"></a><span class="lineno"><a class="line" href="structappdataLog__t.html#ae2f71d3273309d9fa8eb91acb86077c9">   67</a></span>&#160;    CFE_TIME_SysTime_t <a class="code" href="structappdataLog__t.html#ae2f71d3273309d9fa8eb91acb86077c9">appStartTime</a>;            </div><div class="line"><a name="l00068"></a><span class="lineno"><a class="line" href="structappdataLog__t.html#ac953a36b61b161238c1ab9e11679c934">   68</a></span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="structappdataLog__t.html#ac953a36b61b161238c1ab9e11679c934">record</a>;                                </div><div class="line"><a name="l00069"></a><span class="lineno"><a class="line" href="structappdataLog__t.html#aa331e3292de7db82de1602ed73c9fc55">   69</a></span>&#160;    <span class="keywordtype">char</span> playbackTS[20];                        </div><div class="line"><a name="l00070"></a><span class="lineno"><a class="line" href="structappdataLog__t.html#aa0e8d206c35cd5cac08cc2d6a0bd9001">   70</a></span>&#160;    <span class="keywordtype">char</span> playbackLocation[100];                 </div><div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;}<a class="code" href="structappdataLog__t.html">appdataLog_t</a>;</div><div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;</div><div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;</div><div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;<span class="keywordtype">void</span> <a class="code" href="logger_8h.html#ae35cbb2e421a54668a717a9a3dd6c01a">LOGGER_AppMain</a>(<span class="keywordtype">void</span>);</div><div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;</div><div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;<span class="keywordtype">void</span> <a class="code" href="logger_8h.html#af0d3d4e8e36eab25bb17e3f2a6459d11">LOGGER_AppInit</a>(<span class="keywordtype">void</span>);</div><div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;</div><div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;<span class="keywordtype">void</span> <a class="code" href="logger_8h.html#aff1a269f19e93eb1ce18515c7486d267">LOGGER_AppCleanUp</a>(<span class="keywordtype">void</span>);</div><div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;</div><div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;<span class="keywordtype">void</span> <a class="code" href="logger_8h.html#a09f3a6ab8a28ef35f68d86144f2d0d25">LOGGER_ProcessPacket</a>(CFE_SB_Msg_t* msg);</div><div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;</div><div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;<span class="keywordtype">void</span> <a class="code" href="logger_8h.html#a481d6bfcb53b9e2a6c74fd20e9e6658c">PrepareLogFiles</a>();</div><div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;</div><div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;<span class="keywordtype">void</span> <a class="code" href="logger_8h.html#a9dcceceb516449ebc91388cf68ed802b">RecordPackets</a>();</div><div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160;</div><div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;<span class="keywordtype">void</span> <a class="code" href="logger_8h.html#abffc386b87409ab3508148be10fcf82d">OpenLogFiles</a>();</div><div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;</div><div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;<span class="keywordtype">void</span> <a class="code" href="logger_8h.html#a8cb9880127780ef1cdee7a48d564d292">PlaybackPackets</a>();</div><div class="line"><a name="l00113"></a><span class="lineno">  113</span>&#160;</div><div class="line"><a name="l00120"></a><span class="lineno">  120</span>&#160;<span class="keywordtype">bool</span> <a class="code" href="logger_8h.html#a8ae12d2d11111cfa310a985679c3eb52">PublishSBMessage</a>(CFE_TIME_SysTime_t delLocal,CFE_SB_Msg_t* msg);</div><div class="line"><a name="l00121"></a><span class="lineno">  121</span>&#160;</div><div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160;<span class="keywordtype">void</span> <a class="code" href="logger_8h.html#adc7885d70472b4741c13b8eb5ac17270">SubscribeInputs</a>();</div><div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160;</div><div class="line"><a name="l00130"></a><span class="lineno">  130</span>&#160;int32_t <a class="code" href="logger_8h.html#a2d48057cc6ccba30feacf642f0c2fd17">LoggerTableValidationFunc</a>(<span class="keywordtype">void</span> *);</div><div class="line"><a name="l00131"></a><span class="lineno">  131</span>&#160;</div><div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160;</div><div class="line"><a name="l00133"></a><span class="lineno"><a class="line" href="logger_8h.html#a989c6f055028ab9db63cc77a78382f0a">  133</a></span>&#160;<a class="code" href="structappdataLog__t.html">appdataLog_t</a> <a class="code" href="logger_8h.html#a989c6f055028ab9db63cc77a78382f0a">appdataLog</a>;  </div><div class="line"><a name="l00134"></a><span class="lineno">  134</span>&#160;</div><div class="line"><a name="l00138"></a><span class="lineno"><a class="line" href="logger_8h.html#a30b7fc2f9ddd505adece0109d02b5d25">  138</a></span>&#160;<span class="keywordtype">bool</span> <a class="code" href="logger_8h.html#a30b7fc2f9ddd505adece0109d02b5d25">sentPos</a>, havePos;</div><div class="line"><a name="l00139"></a><span class="lineno">  139</span>&#160;<span class="keywordtype">bool</span> sentCommand, haveCommand;</div><div class="line"><a name="l00140"></a><span class="lineno">  140</span>&#160;<span class="keywordtype">bool</span> sentFlightPlan, haveFlightPlan;</div><div class="line"><a name="l00141"></a><span class="lineno">  141</span>&#160;<span class="keywordtype">bool</span> sentGeofence, haveGeofence;</div><div class="line"><a name="l00142"></a><span class="lineno">  142</span>&#160;<span class="keywordtype">bool</span> sentTraffic, haveTraffic;</div><div class="line"><a name="l00143"></a><span class="lineno">  143</span>&#160;<span class="keywordtype">bool</span> sentStartMission, haveStartMission;</div><div class="line"><a name="l00144"></a><span class="lineno">  144</span>&#160;<span class="keywordtype">bool</span> sentCmdAck, haveCmdAck;</div><div class="line"><a name="l00145"></a><span class="lineno">  145</span>&#160;<span class="keywordtype">bool</span> sentWPReached, haveWPReached;</div><div class="line"><a name="l00146"></a><span class="lineno">  146</span>&#160;</div><div class="line"><a name="l00147"></a><span class="lineno">  147</span>&#160;<a class="code" href="structposition__t.html">position_t</a> logPos;</div><div class="line"><a name="l00148"></a><span class="lineno">  148</span>&#160;<a class="code" href="structgeofence__t.html">geofence_t</a> logGf;</div><div class="line"><a name="l00149"></a><span class="lineno">  149</span>&#160;<a class="code" href="structargsCmd__t.html">argsCmd_t</a> logCmd;</div><div class="line"><a name="l00150"></a><span class="lineno">  150</span>&#160;<a class="code" href="structflightplan__t.html">flightplan_t</a> logFp;</div><div class="line"><a name="l00151"></a><span class="lineno">  151</span>&#160;<a class="code" href="structobject__t.html">object_t</a> logTraffic;</div><div class="line"><a name="l00152"></a><span class="lineno">  152</span>&#160;<a class="code" href="structargsCmd__t.html">argsCmd_t</a> logStartMission;</div><div class="line"><a name="l00153"></a><span class="lineno">  153</span>&#160;<a class="code" href="structcmdAck__t.html">cmdAck_t</a> logCmdAck;</div><div class="line"><a name="l00154"></a><span class="lineno">  154</span>&#160;<a class="code" href="structmissionItemReached__t.html">missionItemReached_t</a> logWPReached;</div><div class="line"><a name="l00155"></a><span class="lineno">  155</span>&#160;</div><div class="line"><a name="l00156"></a><span class="lineno">  156</span>&#160;<span class="preprocessor">#endif </span><span class="comment">/* _ardupilot_h_ */</span><span class="preprocessor"></span></div><div class="ttc" id="logger_8h_html_ae35cbb2e421a54668a717a9a3dd6c01a"><div class="ttname"><a href="logger_8h.html#ae35cbb2e421a54668a717a9a3dd6c01a">LOGGER_AppMain</a></div><div class="ttdeci">void LOGGER_AppMain(void)</div><div class="ttdef"><b>Definition:</b> logger.c:20</div></div>
<div class="ttc" id="structmissionItemReached__t_html"><div class="ttname"><a href="structmissionItemReached__t.html">missionItemReached_t</a></div><div class="ttdoc">message indicating a specific waypoint has been reached. </div><div class="ttdef"><b>Definition:</b> ardupilot_msg.h:120</div></div>
<div class="ttc" id="logger_8h_html_a9dcceceb516449ebc91388cf68ed802b"><div class="ttname"><a href="logger_8h.html#a9dcceceb516449ebc91388cf68ed802b">RecordPackets</a></div><div class="ttdeci">void RecordPackets()</div><div class="ttdef"><b>Definition:</b> logger.c:238</div></div>
<div class="ttc" id="structposition__t_html"><div class="ttname"><a href="structposition__t.html">position_t</a></div><div class="ttdoc">position information of aircraft. </div><div class="ttdef"><b>Definition:</b> ardupilot_msg.h:163</div></div>
<div class="ttc" id="structgeofence__t_html"><div class="ttname"><a href="structgeofence__t.html">geofence_t</a></div><div class="ttdoc">message encoding geofence vertex information. </div><div class="ttdef"><b>Definition:</b> ardupilot_msg.h:131</div></div>
<div class="ttc" id="logger_8h_html_a481d6bfcb53b9e2a6c74fd20e9e6658c"><div class="ttname"><a href="logger_8h.html#a481d6bfcb53b9e2a6c74fd20e9e6658c">PrepareLogFiles</a></div><div class="ttdeci">void PrepareLogFiles()</div><div class="ttdef"><b>Definition:</b> logger.c:123</div></div>
<div class="ttc" id="structappdataLog__t_html_af9b0246c4bf93de1809a46f059ca62b8"><div class="ttname"><a href="structappdataLog__t.html#af9b0246c4bf93de1809a46f059ca62b8">appdataLog_t::fpFlightPlan</a></div><div class="ttdeci">FILE * fpFlightPlan</div><div class="ttdoc">flight plan log file </div><div class="ttdef"><b>Definition:</b> logger.h:60</div></div>
<div class="ttc" id="logger_8h_html_abffc386b87409ab3508148be10fcf82d"><div class="ttname"><a href="logger_8h.html#abffc386b87409ab3508148be10fcf82d">OpenLogFiles</a></div><div class="ttdeci">void OpenLogFiles()</div><div class="ttdef"><b>Definition:</b> logger.c:179</div></div>
<div class="ttc" id="structappdataLog__t_html_a1ba1dd60d9a67fc8184a131f969d1b20"><div class="ttname"><a href="structappdataLog__t.html#a1ba1dd60d9a67fc8184a131f969d1b20">appdataLog_t::LOG_Command_MsgPtr</a></div><div class="ttdeci">CFE_SB_MsgPtr_t LOG_Command_MsgPtr</div><div class="ttdoc">msg pointer to SB message (command data) </div><div class="ttdef"><b>Definition:</b> logger.h:54</div></div>
<div class="ttc" id="structappdataLog__t_html_a3a01a814a4c3ffa0d4be1f9ce5acf39a"><div class="ttname"><a href="structappdataLog__t.html#a3a01a814a4c3ffa0d4be1f9ce5acf39a">appdataLog_t::fpPos</a></div><div class="ttdeci">FILE * fpPos</div><div class="ttdoc">position log file </div><div class="ttdef"><b>Definition:</b> logger.h:58</div></div>
<div class="ttc" id="logger_8h_html_adc7885d70472b4741c13b8eb5ac17270"><div class="ttname"><a href="logger_8h.html#adc7885d70472b4741c13b8eb5ac17270">SubscribeInputs</a></div><div class="ttdeci">void SubscribeInputs()</div><div class="ttdef"><b>Definition:</b> logger.c:222</div></div>
<div class="ttc" id="ardupilot__msg_8h_html"><div class="ttname"><a href="ardupilot__msg_8h.html">ardupilot_msg.h</a></div><div class="ttdoc">Ardupilot message definitions. </div></div>
<div class="ttc" id="structcmdAck__t_html"><div class="ttname"><a href="structcmdAck__t.html">cmdAck_t</a></div><div class="ttdoc">Command acknowledgement. </div><div class="ttdef"><b>Definition:</b> ardupilot_msg.h:226</div></div>
<div class="ttc" id="structappdataLog__t_html_a4a7a6a76a333c7bba7a9708c496fc9c4"><div class="ttname"><a href="structappdataLog__t.html#a4a7a6a76a333c7bba7a9708c496fc9c4">appdataLog_t::fpCmdAck</a></div><div class="ttdeci">FILE * fpCmdAck</div><div class="ttdoc">Command acknowledgement. </div><div class="ttdef"><b>Definition:</b> logger.h:64</div></div>
<div class="ttc" id="logger_8h_html_a8ae12d2d11111cfa310a985679c3eb52"><div class="ttname"><a href="logger_8h.html#a8ae12d2d11111cfa310a985679c3eb52">PublishSBMessage</a></div><div class="ttdeci">bool PublishSBMessage(CFE_TIME_SysTime_t delLocal, CFE_SB_Msg_t *msg)</div><div class="ttdef"><b>Definition:</b> logger.c:401</div></div>
<div class="ttc" id="logger__table_8h_html"><div class="ttname"><a href="logger__table_8h.html">logger_table.h</a></div><div class="ttdoc">Logger app table definition. </div></div>
<div class="ttc" id="structargsCmd__t_html"><div class="ttname"><a href="structargsCmd__t.html">argsCmd_t</a></div><div class="ttdoc">Command with arguments. </div><div class="ttdef"><b>Definition:</b> ardupilot_msg.h:212</div></div>
<div class="ttc" id="logger_8h_html_a989c6f055028ab9db63cc77a78382f0a"><div class="ttname"><a href="logger_8h.html#a989c6f055028ab9db63cc77a78382f0a">appdataLog</a></div><div class="ttdeci">appdataLog_t appdataLog</div><div class="ttdoc">app data </div><div class="ttdef"><b>Definition:</b> logger.h:133</div></div>
<div class="ttc" id="structappdataLog__t_html_a6043b02057a3c11250d4ad9ba2144934"><div class="ttname"><a href="structappdataLog__t.html#a6043b02057a3c11250d4ad9ba2144934">appdataLog_t::fpCommands</a></div><div class="ttdeci">FILE * fpCommands</div><div class="ttdoc">command log file </div><div class="ttdef"><b>Definition:</b> logger.h:59</div></div>
<div class="ttc" id="logger_8h_html_a2d48057cc6ccba30feacf642f0c2fd17"><div class="ttname"><a href="logger_8h.html#a2d48057cc6ccba30feacf642f0c2fd17">LoggerTableValidationFunc</a></div><div class="ttdeci">int32_t LoggerTableValidationFunc(void *)</div><div class="ttdef"><b>Definition:</b> logger.c:414</div></div>
<div class="ttc" id="structappdataLog__t_html_a72d6c3d06f363fa92ea16b8b73e5731d"><div class="ttname"><a href="structappdataLog__t.html#a72d6c3d06f363fa92ea16b8b73e5731d">appdataLog_t::fpWpReached</a></div><div class="ttdeci">FILE * fpWpReached</div><div class="ttdoc">waypoint reached </div><div class="ttdef"><b>Definition:</b> logger.h:65</div></div>
<div class="ttc" id="structappdataLog__t_html_a091724a55a6e674f64c3534ec101d2bc"><div class="ttname"><a href="structappdataLog__t.html#a091724a55a6e674f64c3534ec101d2bc">appdataLog_t::LOGGER_tblHandle</a></div><div class="ttdeci">CFE_TBL_Handle_t LOGGER_tblHandle</div><div class="ttdoc">table handle </div><div class="ttdef"><b>Definition:</b> logger.h:57</div></div>
<div class="ttc" id="logger_8h_html_af0d3d4e8e36eab25bb17e3f2a6459d11"><div class="ttname"><a href="logger_8h.html#af0d3d4e8e36eab25bb17e3f2a6459d11">LOGGER_AppInit</a></div><div class="ttdeci">void LOGGER_AppInit(void)</div><div class="ttdef"><b>Definition:</b> logger.c:39</div></div>
<div class="ttc" id="structappdataLog__t_html_ac953a36b61b161238c1ab9e11679c934"><div class="ttname"><a href="structappdataLog__t.html#ac953a36b61b161238c1ab9e11679c934">appdataLog_t::record</a></div><div class="ttdeci">bool record</div><div class="ttdoc">record log file </div><div class="ttdef"><b>Definition:</b> logger.h:68</div></div>
<div class="ttc" id="structappdataLog__t_html_ad00dba0b3a6acff2789ff43023d93d62"><div class="ttname"><a href="structappdataLog__t.html#ad00dba0b3a6acff2789ff43023d93d62">appdataLog_t::logRecStartTime</a></div><div class="ttdeci">CFE_TIME_SysTime_t logRecStartTime</div><div class="ttdoc">Start time recorded in log. </div><div class="ttdef"><b>Definition:</b> logger.h:66</div></div>
<div class="ttc" id="structflightplan__t_html"><div class="ttname"><a href="structflightplan__t.html">flightplan_t</a></div><div class="ttdoc">message encoding flight plan information </div><div class="ttdef"><b>Definition:</b> ardupilot_msg.h:105</div></div>
<div class="ttc" id="structappdataLog__t_html_a8c1d56436a9e79168a4aee10b3e9b58d"><div class="ttname"><a href="structappdataLog__t.html#a8c1d56436a9e79168a4aee10b3e9b58d">appdataLog_t::LOG_AutopilotData_Pipe</a></div><div class="ttdeci">CFE_SB_PipeId_t LOG_AutopilotData_Pipe</div><div class="ttdoc">pipe to capture data from autopilot </div><div class="ttdef"><b>Definition:</b> logger.h:52</div></div>
<div class="ttc" id="structappdataLog__t_html"><div class="ttname"><a href="structappdataLog__t.html">appdataLog_t</a></div><div class="ttdef"><b>Definition:</b> logger.h:50</div></div>
<div class="ttc" id="ardupilot__msgids_8h_html"><div class="ttname"><a href="ardupilot__msgids_8h.html">ardupilot_msgids.h</a></div><div class="ttdoc">Message ID definition of ardupilot app messages. </div></div>
<div class="ttc" id="structobject__t_html"><div class="ttname"><a href="structobject__t.html">object_t</a></div><div class="ttdoc">message to represent information about an static/dynamic object </div><div class="ttdef"><b>Definition:</b> ardupilot_msg.h:146</div></div>
<div class="ttc" id="structappdataLog__t_html_af750bc9c503ccf6901370e2d057951ca"><div class="ttname"><a href="structappdataLog__t.html#af750bc9c503ccf6901370e2d057951ca">appdataLog_t::fpGeofence</a></div><div class="ttdeci">FILE * fpGeofence</div><div class="ttdoc">geofence log file </div><div class="ttdef"><b>Definition:</b> logger.h:61</div></div>
<div class="ttc" id="logger_8h_html_a09f3a6ab8a28ef35f68d86144f2d0d25"><div class="ttname"><a href="logger_8h.html#a09f3a6ab8a28ef35f68d86144f2d0d25">LOGGER_ProcessPacket</a></div><div class="ttdeci">void LOGGER_ProcessPacket(CFE_SB_Msg_t *msg)</div><div class="ttdef"><b>Definition:</b> logger.c:254</div></div>
<div class="ttc" id="logger_8h_html_a8cb9880127780ef1cdee7a48d564d292"><div class="ttname"><a href="logger_8h.html#a8cb9880127780ef1cdee7a48d564d292">PlaybackPackets</a></div><div class="ttdeci">void PlaybackPackets()</div><div class="ttdef"><b>Definition:</b> logger.c:320</div></div>
<div class="ttc" id="structappdataLog__t_html_af6067c039146015b3a37acb962ff84ec"><div class="ttname"><a href="structappdataLog__t.html#af6067c039146015b3a37acb962ff84ec">appdataLog_t::fpStartMission</a></div><div class="ttdeci">FILE * fpStartMission</div><div class="ttdoc">start mission command </div><div class="ttdef"><b>Definition:</b> logger.h:63</div></div>
<div class="ttc" id="logger_8h_html_aff1a269f19e93eb1ce18515c7486d267"><div class="ttname"><a href="logger_8h.html#aff1a269f19e93eb1ce18515c7486d267">LOGGER_AppCleanUp</a></div><div class="ttdeci">void LOGGER_AppCleanUp(void)</div><div class="ttdef"><b>Definition:</b> logger.c:234</div></div>
<div class="ttc" id="structappdataLog__t_html_ae2f71d3273309d9fa8eb91acb86077c9"><div class="ttname"><a href="structappdataLog__t.html#ae2f71d3273309d9fa8eb91acb86077c9">appdataLog_t::appStartTime</a></div><div class="ttdeci">CFE_TIME_SysTime_t appStartTime</div><div class="ttdoc">App start time. </div><div class="ttdef"><b>Definition:</b> logger.h:67</div></div>
<div class="ttc" id="structappdataLog__t_html_a51cf3c9b254d793c70d6072f249c36ce"><div class="ttname"><a href="structappdataLog__t.html#a51cf3c9b254d793c70d6072f249c36ce">appdataLog_t::fpTraffic</a></div><div class="ttdeci">FILE * fpTraffic</div><div class="ttdoc">traffic log file </div><div class="ttdef"><b>Definition:</b> logger.h:62</div></div>
<div class="ttc" id="logger_8h_html_a30b7fc2f9ddd505adece0109d02b5d25"><div class="ttname"><a href="logger_8h.html#a30b7fc2f9ddd505adece0109d02b5d25">sentPos</a></div><div class="ttdeci">bool sentPos</div><div class="ttdef"><b>Definition:</b> logger.h:138</div></div>
<div class="ttc" id="structappdataLog__t_html_a5f9ceb7cd3856ef05ead7b203141226e"><div class="ttname"><a href="structappdataLog__t.html#a5f9ceb7cd3856ef05ead7b203141226e">appdataLog_t::LOG_APdata_MsgPtr</a></div><div class="ttdeci">CFE_SB_MsgPtr_t LOG_APdata_MsgPtr</div><div class="ttdoc">msg pointer to SB messages (autopilot data) </div><div class="ttdef"><b>Definition:</b> logger.h:55</div></div>
<div class="ttc" id="structappdataLog__t_html_ac4a3537c413b9605055633b7e0498910"><div class="ttname"><a href="structappdataLog__t.html#ac4a3537c413b9605055633b7e0498910">appdataLog_t::LOG_Commands_Pipe</a></div><div class="ttdeci">CFE_SB_PipeId_t LOG_Commands_Pipe</div><div class="ttdoc">pipe to capture commands to autopilot </div><div class="ttdef"><b>Definition:</b> logger.h:51</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.11
</small></address>
</body>
</html>
